package com.woniuxy.dao;

import com.woniuxy.entity.RbacManager;
import com.woniuxy.entity.RbacPerm;

import java.util.List;
import java.util.Set;


public interface RbacPermDao {
    Set<String> findPermBySetRoles(String username);

    List<RbacPerm> findAll();

    int addOne(RbacPerm rbacPerm);

    int editOne(RbacPerm rbacPerm);

    int deleteOne(int id);

    int editType(int id);

    List<RbacPerm> search(String name, String code);
}
